home *** CD-ROM | disk | FTP | other *** search
/ Carousel / CAROUSEL.cdr / mactosh / john / hc_resed / ResEdit IPS™ / card_8068.txt < prev    next >
Text File  |  1988-07-22  |  2KB  |  58 lines

  1. -- card: 8068 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2664
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A000
  11. -- rect: left=467 top=77 right=125 bottom=507
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1002 / 1002
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: #8
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   push card
  23.   go to card id 10409
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part 2 (button)
  29. -- low flags: 00
  30. -- high flags: 0000
  31. -- rect: left=387 top=63 right=103 bottom=429
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: skip
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   set lockScreen to true
  43.   go next card
  44.   go next card
  45.   set lockScreen to false
  46. end mouseUp
  47.  
  48.  
  49.  
  50. -- part contents for background part 13
  51. ----- text -----
  52. The disk goes for a little bit, and then the changes you made to your file are permanently saved onto disk.  And the final result of all this can be seen in button example #8.
  53.  
  54.  
  55. ... and there you go.  Now there wasn't anything too overly difficult about that!  You've just taken your first plunge into ResEdit and escaped unscathed.  The other menus in the Finder can be altered in the same fashion, as can the menus in any program that has a resource type MENU.  Now let's have some fun with some desktop icons.
  56. ICN#'s here we come...
  57.  
  58. A large portion of the Mac's ease of use stems from its usage of icons to get around.  ResEdit makes changing existing icons or replacing them entirely a snap once you know the few basic steps involved.  Since we want to alter the icons that the Mac uses when we're on the desktop, the resource we're after is ICN# (see previous description).  Most programs only have one; however, the Finder has several of these because it's responsible for providing them for files that may not normally have one assigned.